package ${package.Vo};

<#if entityLombokModel>
import lombok.Data;
</#if>
import org.layuiframework.stereotype.vo.PageInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
/**
 * <p>
 * ${table.comment!} 前端查询参数
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if entityLombokModel>
@Data
</#if>
public class ${table.voName} extends PageInfo{
<#if table.layuiNameColumn??>
    private String name;

</#if>
<#if table.layuiTimeColumn??>
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

</#if>

 <#if !entityLombokModel>
  <#assign getprefix="get"/>
     <#if table.layuiNameColumn??>
     public String ${getprefix}Name() {
        return this.name;
     }
       <#if chainModel>
     public ${table.voName} setName(String name) {
       <#else>
     public void setName(String name) {
       </#if>
        this.name = name;
           <#if chainModel>
        return this;
           </#if>
     }
     </#if>

     <#if table.layuiTimeColumn??>
     public Date ${getprefix}StartTime() {
        return this.startTime;
     }
       <#if chainModel>
     public ${table.voName} setStartTime(Date startTime) {
       <#else>
     public void setStartTime(Date startTime) {
       </#if>
        this.startTime = startTime;
           <#if chainModel>
        return this;
           </#if>
     }

     public Date ${getprefix}EndTime() {
        return this.endTime;
     }
       <#if chainModel>
     public ${table.voName} setEndTime(Date endTime) {
       <#else>
     public void setEndTime(Date endTime) {
       </#if>
        this.endTime = endTime;
           <#if chainModel>
        return this;
           </#if>
     }
     </#if>
 </#if>
}

